//Grozi Ties
// David Ing and Jae Shin Woo
//
// OSCTEST.ck
// 
// Rec from USER INTERFACE TEAM
//
//----------------------------------------------------------------

OscRecv recv; 
7000 => recv.port; // port that it listens from
recv.listen();
recv.event( "/edge, i" ) @=> OscEvent oe;

// run time of the program
while ( true ){ 
    oe => now;
    // asks for next messge
    while ( oe.nextMsg() != 0 ){
        oe.getInt() => int val;
        <<< "Receiving: ", val>>>;
    }
}